package Level02_two;

public class Duck extends Poultry{
    @Override
    void eat() {
        System.out.println("1 岁的黑色的鸭子在吃鱼");
    }
    void swim() {
        System.out.println("1 岁的黑色的鸭子在游泳");
    }

    public Duck() {
    }

    public Duck(String color, int age) {
        super(color, age);
    }
}
